import { createSlice } from '@reduxjs/toolkit';
export const userSlice = createSlice({
  name: 'user',
  initialState: {
    permission: false,
  },
  reducers: {
    setPermission(state, payload) {
      state.permission = payload.value;
    },
  },
});
